Returns the 0-based index of a with specified key in the current
OwnedKeyedCollection<TKey,TItem>.
'Declaration
Public Function IndexOfKey( _
ByVal As _
) As System.Integer
public System.int IndexOfKey(
)
Parameters
- key
- The key of the item to locate.
Return Value
The 0-based index of the specified item, or -1 if the item was not found.